package com.example.shop_2207.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

data class CarEntityResult(
    val code: Int,
    val `data`: List<CarEntity>,
    val message: String
)
@Entity(tableName = "order")
data class CarEntity(
    var count: Int,
    val goods_default_icon: String,
    val goods_default_price: Int,
    val goods_desc: String,
    val goods_id: Int,
    @PrimaryKey
    val id: Int,
    val order_id: Int,
    val user_id: Int,
    //手动添加，为了判断是否选中
    var isCheck:Boolean,
    //订单状态  //0待结算 1待支付 2 已支付 3待发货 4待收货 5已完成 6待评价  7已评价  8已取消
    var order_status:Int
)